INCLUDE_OTHER = -I../.. -I../../thirdparty \
                @GLIB2_CFLAGS@

LUA_CFLAGS = @LUA_CFLAGS@
LUA_LIBS = @LUA_LIBS@

SRCS=$(wildcard *.c)

../lua.so : $(SRCS) ../../arkime.h ../../hash.h ../../dll.h
	$(CC) -pthread @SHARED_FLAGS@ -o $@ @CFLAGS@ -Wall -Wextra -D_GNU_SOURCE -std=gnu99 -fPIC $(INCLUDE_OTHER) $(LUA_CFLAGS) $(SRCS) $(LUA_LIBS)

all:$(SOS)

distclean realclean clean:
	rm -f *.o *.so
